package com.woniuxy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: 邓宇昂
 * @Description: TODO
 * @DateTime: 22/12/08/0008 15:24
 * @Component: 成都蜗牛学苑
 **/
@SpringBootApplication
@EnableEurekaClient
//网关只扫描，自己的两个包
@ComponentScan({"com.woniuxy.filters","com.woniuxy.predicate","com.woniuxy.redis"})
public class GatewayApp {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApp.class,args);
    }
}
